package com.bootdo.crm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.crm.dao.BusinessStatusDao;
import com.bootdo.crm.domain.BusinessStatusDO;
import com.bootdo.crm.service.BusinessStatusService;



@Service
public class BusinessStatusServiceImpl implements BusinessStatusService {
	@Autowired
	private BusinessStatusDao businessStatusDao;
	
	@Override
	public BusinessStatusDO get(Integer statusId){
		return businessStatusDao.get(statusId);
	}
	
	@Override
	public List<BusinessStatusDO> list(Map<String, Object> map){
		return businessStatusDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return businessStatusDao.count(map);
	}
	
	@Override
	public int save(BusinessStatusDO businessStatus){
		return businessStatusDao.save(businessStatus);
	}
	
	@Override
	public int update(BusinessStatusDO businessStatus){
		return businessStatusDao.update(businessStatus);
	}
	
	@Override
	public int remove(Integer statusId){
		return businessStatusDao.remove(statusId);
	}
	
	@Override
	public int batchRemove(Integer[] statusIds){
		return businessStatusDao.batchRemove(statusIds);
	}
	
}
